]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Do not block hot corner when open
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 15 Sep 2012 16:49:41 +0000 (18:49 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 16 Sep 2012 17:53:49 +0000 (19:53 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=682255

js/ui/messageTray.js

index f91a010f519b29e83e95ae6db028bc9ee0d871be..cfbf011b480f46c936dae23c7fa76c412c9f2fa1 100644 (file)
@@ -1443,6 +1443,7 @@ const MessageTray = new Lang.Class({
         this._grabHelper = new GrabHelper.GrabHelper(this.actor);
         this._grabHelper.addActor(this._summaryBoxPointer.actor);
         this._grabHelper.addActor(this.actor);
+        this._grabHelper.addActor(Main.panel.statusArea['activities'].hotCorner.actor);
 
         Main.layoutManager.keyboardBox.connect('notify::hover', Lang.bind(this, this._onKeyboardHoverChanged));
 
@@ -1485,6 +1486,7 @@ const MessageTray = new Lang.Class({
         Main.overview.connect('showing', Lang.bind(this,
             function() {
                 this._overviewVisible = true;
+                this._grabHelper.ungrab(); // drop modal grab if necessary
                 this.actor.add_style_pseudo_class('overview');
                 this._updateState();
             }));